# Layout stuff
## Split current object
bindsym $mod+Shift+minus splitv
bindsym $mod+minus splith
## Switch current container between different layout styles
# bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split
## Make the current focus fullscreen
bindsym $mod+f fullscreen
## Toggle the current docus between tiling and floating mode
bindsym $mod+Shift+space floating toggle
## Swap focus between the tiling area and the floating area
bindsym $mod+space focus mode_toggle
## Move focus to the parent container
bindsym $mod+a focus parent
bindsym $mod+Shift+a focus child

# Resizing containers
mode "resize" {
    bindsym h resize shrink width  5px
    bindsym j resize grow   height 5px
    bindsym k resize shrink height 5px
    bindsym l resize grow   width  5px

    bindsym Shift+h resize shrink width  25px
    bindsym Shift+j resize grow   height 25px
    bindsym Shift+k resize shrink height 25px
    bindsym Shift+l resize grow   width  25px

    bindsym Ctrl+h resize shrink width  35px
    bindsym Ctrl+j resize grow   height 35px
    bindsym Ctrl+k resize shrink height 35px
    bindsym Ctrl+l resize grow   width  35px
    
    # Return to deafult mode
    bindsym Return mode "default"
    bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"
